﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EngineDrawer.Effects.Bloom
{
   public class BloomSettings
    {
        public readonly float BloomThreshold;
        public readonly float BlurAmount;
        public readonly float BloomIntensity;
        public readonly float BaseIntensity;
        public readonly float BloomSaturation;
        public readonly float BaseSaturation;
        public BloomSettings(float bloomThreshold, float blurAmount,
                             float bloomIntensity, float baseIntensity,
                             float bloomSaturation, float baseSaturation)
        {
            BloomThreshold = bloomThreshold;
            BlurAmount = blurAmount;
            BloomIntensity = bloomIntensity;
            BaseIntensity = baseIntensity;
            BloomSaturation = bloomSaturation;
            BaseSaturation = baseSaturation;
        }


        /// <summary>
        /// Table of preset bloom settings, used by the sample program.
        /// </summary>
        public static BloomSettings[] PresetSettings =
        {
          new BloomSettings( 0.25f,  4,   1.25f, 1,    1,       1),
            new BloomSettings(0,      1f,   0.75f,     1,    1,       1),
            new BloomSettings(0.5f,   8,   2,     1,    0,       1),
            new BloomSettings( 0.25f,  4,   2,     1,    2,       0),
            new BloomSettings( 0,      2,   1,     0.1f, 1,       1),
            new BloomSettings( 0.5f,   2,   1,     1,    1,       1),
            
            
        };    
    }
}
